package com.swind.fast.modules.app.railway.project.service;

import com.swind.fast.common.system.base.service.SwindService;
import com.swind.fast.modules.app.railway.project.entity.RailwayProjectTaskPoint;
import com.swind.fast.modules.app.railway.task.entity.RailwayTaskPointFile;
import com.swind.fast.modules.app.railway.task.entity.RailwayTaskPointOperationLog;
import com.swind.fast.modules.app.railway.project.vo.RailwayDataManagementStatisticVo;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @Description: 项目
 */
public interface IRailwayProjectTaskPointService extends SwindService<RailwayProjectTaskPoint> {

    void saveMain(RailwayProjectTaskPoint railwayProject);

    void updateMainById(RailwayProjectTaskPoint railwayProject);

    void updateTestPointStatus(RailwayTaskPointOperationLog railwayProject);

    IPage<RailwayProjectTaskPoint> pageMain(Page<RailwayProjectTaskPoint> page, QueryWrapper<RailwayProjectTaskPoint> queryWrapper);

    List<RailwayTaskPointFile> getPicsById(String pointId);

    RailwayDataManagementStatisticVo getWorkTestPointStatistic(RailwayDataManagementStatisticVo statistic);
}
